home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet 2002 May / Practical Internet May 2002.iso / pc / Software / SiteBuilding / Cpg27.exe / #setuppath# / Objects / Applets / DS effects / Stars3D.cpao < prev    next >
Encoding:
Text File  |  2002-01-28  |  26.9 KB  |  654 lines

  1. <HTML>
  2. <HEAD>
  3. <SCRIPT LANGUAGE="JavaScript">
  4. <!-- Begin
  5. var notused="";
  6. var title="DS effects : Stars3D";
  7. var applet_file="DS_Stars3D.class";
  8. var req_cp="The file requires Cool Page to be viewed";
  9. var req_cp_update="To edit this object, please upgrade your copy of Cool Page to the latest version";
  10. var un_fail="An unexpected error occurred. Please notify http://www.dseffects.com";
  11.  
  12. document.write("<TITLE>"+title+"</TITLE>");
  13.  
  14. if(!window.external || !window.external.Undefined || !window.external.Defined ){
  15.    alert(req_cp);
  16.    document.write("</HEAD><BODY></BODY></HTML>");
  17.    document.close();
  18. }
  19.  
  20. var undefined=window.external.Undefined();
  21. var defined=window.external.Defined();
  22. if(window.external.GetObjectHTML("-1")==defined){ 
  23. var aa=window.external.SetObjectSize("-1","240","200"); 
  24. }
  25. var w,h;
  26. if(defined==undefined
  27.    || !window.external.GetSelectedObject || window.external.GetSelectedObject("-1")==undefined
  28.    || !window.external.GetObjectClass || window.external.GetObjectClass("-1")!="PageHTML"
  29.    || !window.external.GetObjectEditor || window.external.GetObjectEditor("-1")==undefined
  30.    || !window.external.SetObjectEditorName || window.external.SetObjectEditorName("-1",title)==undefined
  31.    || !window.external.GetObjectWidth || (w=window.external.GetObjectWidth("-1"))==undefined
  32.    || !window.external.GetObjectHeight || (h=window.external.GetObjectHeight("-1"))==undefined
  33.    || !window.external.SetObjectSize || window.external.SetObjectSize("-1",w,h) ==undefined
  34.    || !window.external.GetObjectHTML || (h=window.external.GetObjectHTML("-1")) ==undefined
  35.    || !window.external.SetObjectHTML || window.external.SetObjectHTML("-1",(h==defined ? "" : h))==undefined
  36.    || !window.external.GetObjectFiles || window.external.GetObjectFiles("-1",";")==undefined
  37.    || !window.external.SetObjectFiles // unrealistic to check all argument variants here just assume they are supported || window.external.SetObjectFiles( "-1", file0, file1, ... fileN ) == undefined
  38.    || !window.external.CopyFile || window.external.CopyFile("","")==undefined
  39. ){
  40.    alert(req_cp_update);
  41.    document.write("</HEAD><BODY></BODY></HTML>");
  42.    document.close();
  43. }
  44.  
  45. function CheckSuccess(return_value){
  46.  if(return_value=="" || return_value==undefined)
  47.     alert(un_fail);
  48. }
  49.  
  50. var h_width,h_height;
  51. var h_numstars,h_speed,h_direction,h_rotdir,h_interactive;
  52. var h_overimage,h_overimagex,h_overimagey;
  53. var h_regkey,h_reglink,h_regtarget,h_regstatusmsg;
  54. var h_regselt;
  55.  
  56. var h_ot=new Array();
  57. var h_oty=new Array();
  58. var h_otspeed=new Array();
  59. var h_ottype=new Array();
  60. var h_otcol=new Array();
  61. var h_otfont=new Array();
  62. var h_otstyle=new Array();
  63. var h_otsize=new Array();
  64.  
  65. function ParseHTML(){
  66. h_width=window.external.GetObjectWidth("-1");
  67. h_height=window.external.GetObjectHeight("-1");
  68.    
  69. h_numstars=""+1000;
  70. h_speed=""+2;
  71. h_direction="forward";
  72. h_rotdir="clockwise";
  73. h_interactive="yes";
  74.    
  75. h_overimage="";
  76. h_overimagex=""+10;
  77. h_overimagey=""+10;
  78.    
  79. h_regkey="";
  80. h_reglink="";
  81. h_regselt="_blank";
  82. h_regtarget="_blank";
  83. h_regstatusmsg="";
  84.       
  85. for(var i=1;i<=4;i++){
  86.  h_ot[i]="";
  87.  h_oty[i]=""+10;
  88.  h_otspeed[i]=""+2;
  89.  h_ottype[i]="scrollleft";
  90.  h_otcol[i]="ffffff"; 
  91.  h_otfont[i]="Helvetica";
  92.  h_otstyle[i]="plain";
  93.  h_otsize[i]=""+24;
  94. }
  95.  
  96. var file_array=window.external.GetObjectFiles("-1",",").split(",");
  97. if(file_array[0] != defined && file_array.length>1){
  98.  h_overimage=file_array[1];
  99. }
  100.  
  101. var html=window.external.GetObjectHTML("-1");
  102.  
  103. if(html==defined)
  104.  return;
  105.       
  106. var param_array=html.split("<PARAM NAME=");
  107. for(var i=param_array.length;--i>=0;){      
  108.  
  109.  if(param_array[i].indexOf("numstars ")==0){
  110.     h_numstars=param_array[i].split("\"")[1];                   
  111.  }
  112.  if(param_array[i].indexOf("direction ")==0){
  113.     h_direction=param_array[i].split("\"")[1];                   
  114.  }
  115.   if(param_array[i].indexOf("rotdir ")==0){
  116.     h_rotdir=param_array[i].split("\"")[1];                   
  117.  }
  118.  if(param_array[i].indexOf("speed ")==0){
  119.     h_speed=param_array[i].split("\"")[1];                   
  120.  }
  121.  if(param_array[i].indexOf("interactive ")==0){
  122.     h_interactive=param_array[i].split("\"")[1];  
  123.  }
  124.       
  125.  for(var ind=1;ind<=4;ind++){
  126.      if(param_array[i].indexOf("overtext"+ind)==0){
  127.         h_ot[ind]=param_array[i].split("\"")[1];    
  128.      }        
  129.      if(param_array[i].indexOf("overtexty"+ind)==0){
  130.         h_oty[ind]=param_array[i].split("\"")[1];    
  131.      }    
  132.      if(param_array[i].indexOf("overtextspeed"+ind)==0){
  133.         h_otspeed[ind]=param_array[i].split("\"")[1];    
  134.      }  
  135.      if(param_array[i].indexOf( "overtexttype"+ind)==0){
  136.     h_ottype[ind]=param_array[i].split("\"")[1];    
  137.      }  
  138.      if(param_array[i].indexOf("overtextcol"+ind)==0){
  139.     h_otcol[ind]=param_array[i].split("\"")[1];    
  140.      }               
  141.      if(param_array[i].indexOf("overtextfont"+ind)==0){
  142.     h_otfont[ind]=param_array[i].split("\"")[1];    
  143.      }
  144.      if(param_array[i].indexOf("overtextstyle"+ind)==0){
  145.         h_otstyle[ind]=param_array[i].split("\"")[1];    
  146.      }
  147.      if(param_array[i].indexOf("overtextsize"+ind)==0){
  148.         h_otsize[ind]=param_array[i].split("\"")[1];    
  149.      }   
  150.  }         
  151.  
  152.  if(param_array[i].indexOf("overimagex ")==0){
  153.     h_overimagex=param_array[i].split("\"")[1];
  154.  }  
  155.  if(param_array[i].indexOf("overimagey ")==0){
  156.     h_overimagey=param_array[i].split("\"")[1];
  157.  }     
  158.       
  159.  if(param_array[i].indexOf("regkey ")==0){
  160.     h_regkey=param_array[i].split("\"")[1];  
  161.  }
  162.  if(param_array[i].indexOf("reglink ")==0){
  163.     h_reglink=param_array[i].split( "\"")[1];  
  164.  }
  165.  if(param_array[i].indexOf("regtarget ")==0){
  166.     h_regtarget = param_array[i].split("\"")[1]; 
  167.     h_regselt= h_regtarget; 
  168.  }
  169.  if(param_array[i].indexOf("regstatusmsg ")==0){
  170.     h_regstatusmsg=param_array[i].split("\"")[1];  
  171.  }
  172. }
  173. }
  174.  
  175. function ReadSelObj(form){
  176.  ParseHTML();
  177.  form.width.value=h_width;
  178.  form.height.value=h_height;
  179.  
  180.  form.numstars.value=h_numstars;
  181.  form.speed.value=h_speed;
  182.  form.direction.value=h_direction;
  183.  form.rotdir.value=h_rotdir;
  184.  form.interactive.value=h_interactive;
  185.    
  186.  form.overimage.value=h_overimage;
  187.  form.overimagex.value=h_overimagex;
  188.  form.overimagey.value=h_overimagey;
  189.   
  190.  form.regkey.value=h_regkey;
  191.  form.reglink.value=h_reglink;
  192.  form.regselt.value=h_regselt;
  193.  form.regtarget.value=h_regtarget;
  194.  form.regstatusmsg.value=h_regstatusmsg;   
  195.   
  196.  form.ot1.value=h_ot[1];
  197.  form.ot2.value=h_ot[2];
  198.  form.ot3.value=h_ot[3];
  199.  form.ot4.value=h_ot[4];
  200.  form.oty1.value=h_oty[1];
  201.  form.oty2.value=h_oty[2];
  202.  form.oty3.value=h_oty[3];
  203.  form.oty4.value=h_oty[4];
  204.  form.otspeed1.value=h_otspeed[1];
  205.  form.otspeed2.value=h_otspeed[2];
  206.  form.otspeed3.value=h_otspeed[3];
  207.  form.otspeed4.value=h_otspeed[4];
  208.  form.ottype1.value=h_ottype[1];
  209.  form.ottype2.value=h_ottype[2];
  210.  form.ottype3.value=h_ottype[3];
  211.  form.ottype4.value=h_ottype[4];
  212.  form.otcol1.value=h_otcol[1];
  213.  form.otcol2.value=h_otcol[2];
  214.  form.otcol3.value=h_otcol[3];
  215.  form.otcol4.value=h_otcol[4];
  216.  form.otfont1.value=h_otfont[1];
  217.  form.otfont2.value=h_otfont[2];
  218.  form.otfont3.value=h_otfont[3];
  219.  form.otfont4.value=h_otfont[4];
  220.  form.otstyle1.value=h_otstyle[1];
  221.  form.otstyle2.value=h_otstyle[2];
  222.  form.otstyle3.value=h_otstyle[3];
  223.  form.otstyle4.value=h_otstyle[4];
  224.  form.otsize1.value=h_otsize[1];
  225.  form.otsize2.value=h_otsize[2];
  226.  form.otsize3.value=h_otsize[3];
  227.  form.otsize4.value=h_otsize[4];
  228.    
  229.  var folder=window.location.href.substring(8,window.location.href.lastIndexOf("/")).replace( /%20/g," ").replace( /\//g,"\\");
  230.  var editor=window.external.GetObjectEditor("-1");
  231.  var applet=editor.substring(0,editor.lastIndexOf("\\")+1)+applet_file;
  232.  notused=window.external.CopyFile(applet,folder);
  233.  if(h_overimage !=""){
  234.     notused=window.external.CopyFile(h_overimage,folder);
  235.  }    
  236. }
  237.       
  238. function WriteSelObj(form){
  239. if(form.direction.value==""||
  240. form.rotdir.value==""||
  241. form.speed.value==""||
  242. form.interactive.value==""||
  243.  
  244. form.otspeed1.value==""||
  245. form.otcol1.value==""||
  246. form.otstyle1.value==""||
  247. form.ottype1.value==""||
  248. form.otspeed2.value==""||
  249. form.otcol2.value==""||
  250. form.otstyle2.value==""||
  251. form.ottype2.value==""||
  252. form.otspeed3.value==""||
  253. form.otcol3.value==""||
  254. form.otstyle3.value==""||
  255. form.ottype3.value==""||
  256. form.otspeed4.value==""||
  257. form.otcol4.value==""||
  258. form.otstyle4.value==""||
  259. form.ottype4.value==""||
  260. form.regselt.value==""){
  261. return;
  262. }
  263.  ParseHTML();
  264.  if(!window.external.SetObjectSize("-1",form.width.value,form.height.value))
  265.     return;
  266.  var html=AppletHTML(form);
  267.  CheckSuccess(window.external.SetObjectFiles("-1")); 
  268.  CheckSuccess(window.external.SetObjectHTML("-1",html));
  269.  if(form.overimage.value !=""){
  270.     CheckSuccess(window.external.SetObjectFiles("-1",applet_file,form.overimage.value));
  271.  }
  272.  else{
  273.     CheckSuccess(window.external.SetObjectFiles("-1",applet_file));
  274.  }
  275.  if(form.width.value != h_width || form.height.value != h_height        
  276.     || form.numstars.value != h_numstars
  277.     || form.speed.value != h_speed
  278.     || form.direction.value != h_direction
  279.     || form.rotdir.value != h_rotdir  
  280.     || form.interactive.value != h_interactive
  281.         
  282.     || form.overimage.value != h_overimage
  283.     || form.overimagex.value != h_overimagex
  284.     || form.overimagey.value != h_overimagey
  285.         
  286.     || form.regkey.value != h_regkey
  287.     || form.reglink.value != h_reglink
  288.     || form.regselt.value != h_regselt
  289.     || form.regtarget.value != h_regtarget
  290.     || form.regstatusmsg.value != h_regstatusmsg
  291.     
  292.     || form.ot1.value != h_ot[1]
  293.     || form.oty1.value != h_oty[1]
  294.     || form.otspeed1.value != h_otspeed[1]
  295.     || form.ottype1.value != h_ottype[1]
  296.     || form.otcol1.value != h_otcol[1]    
  297.     || form.otfont1.value != h_otfont[1]
  298.     || form.otstyle1.value != h_otstyle[1]
  299.     || form.otsize1.value != h_otsize[1]
  300.     || form.ot2.value != h_ot[2]
  301.     || form.oty2.value != h_oty[2]
  302.     || form.otspeed2.value != h_otspeed[2]
  303.     || form.ottype2.value != h_ottype[2]
  304.     || form.otcol2.value != h_otcol[2]     
  305.     || form.otfont2.value != h_otfont[2]
  306.     || form.otstyle2.value != h_otstyle[2]
  307.     || form.otsize2.value != h_otsize[2]
  308.     || form.ot3.value != h_ot[3]
  309.     || form.oty3.value != h_oty[3]
  310.     || form.otspeed3.value != h_otspeed[3]
  311.     || form.ottype3.value != h_ottype[3]
  312.     || form.otcol3.value != h_otcol[3]     
  313.     || form.otfont3.value != h_otfont[3]
  314.     || form.otstyle3.value != h_otstyle[3]
  315.     || form.otsize3.value != h_otsize[3]
  316.     || form.ot4.value != h_ot[4]
  317.     || form.oty4.value != h_oty[4]
  318.     || form.otspeed4.value != h_otspeed[4]
  319.     || form.ottype4.value != h_ottype[4]
  320.     || form.otcol4.value != h_otcol[4]    
  321.     || form.otfont4.value != h_otfont[4]
  322.     || form.otstyle4.value != h_otstyle[4]
  323.     || form.otsize4.value != h_otsize[4]
  324.     
  325.     ){  
  326.      window.location.reload(true);
  327.    }
  328. }
  329.     
  330. function AppletHTML(form){
  331. if(form.width.value && form.height.value){
  332. var t="<APPLET CODE=\""+applet_file+"\" CODEBASE=\"./\" width="+form.width.value+" height="+form.height.value+">\r\n";
  333. t+="<PARAM NAME=credits VALUE=\"Applet by Dario Sciacca (www.dseffects.com)\">\r\n";
  334. t+="<PARAM NAME=numstars VALUE=\""+form.numstars.value+"\">\r\n";
  335. t+="<PARAM NAME=speed VALUE=\""+form.speed.value+"\">\r\n";
  336. t+="<PARAM NAME=direction VALUE=\""+form.direction.value+"\">\r\n";
  337. t+="<PARAM NAME=rotdir VALUE=\""+form.rotdir.value+"\">\r\n";
  338. t+="<PARAM NAME=interactive VALUE=\""+form.interactive.value+"\">\r\n";
  339.  
  340. if(form.overimage.value){
  341.  var oifile=form.overimage.value.substring(form.overimage.value.lastIndexOf("\\")+1);
  342.  t+="<PARAM NAME=overimage VALUE=\""+oifile+"\">\r\n";    
  343.  if(form.overimagex.value)
  344.   t+="<PARAM NAME=overimagex VALUE=\""+form.overimagex.value+"\">\r\n";
  345.  if(form.overimagey.value)
  346.   t+="<PARAM NAME=overimagey VALUE=\""+form.overimagey.value+"\">\r\n";
  347. }
  348.  
  349. //if(form.ot1.value){
  350.  t+="<PARAM NAME=overtext1"+" VALUE=\""+form.ot1.value+"\">\r\n"; 
  351.  t+="<PARAM NAME=overtexty1"+" VALUE=\""+form.oty1.value+"\">\r\n";
  352.  t+="<PARAM NAME=overtextspeed1"+" VALUE=\""+form.otspeed1.value+"\">\r\n"; 
  353.  t+="<PARAM NAME=overtexttype1"+" VALUE=\""+form.ottype1.value+"\">\r\n"; 
  354.  t+="<PARAM NAME=overtextcol1"+" VALUE=\""+form.otcol1.value+"\">\r\n";  
  355.  t+="<PARAM NAME=overtextfont1"+" VALUE=\""+form.otfont1.value+"\">\r\n"; 
  356.  t+="<PARAM NAME=overtextstyle1"+" VALUE=\""+form.otstyle1.value+"\">\r\n"; 
  357.  t+="<PARAM NAME=overtextsize1"+" VALUE=\""+form.otsize1.value+"\">\r\n"; 
  358. //}
  359. if(form.ot2.value){
  360.  t+="<PARAM NAME=overtext2"+" VALUE=\""+form.ot2.value+"\">\r\n"; 
  361.  t+="<PARAM NAME=overtexty2"+" VALUE=\""+form.oty2.value+"\">\r\n";
  362.  t+="<PARAM NAME=overtextspeed2"+" VALUE=\""+form.otspeed2.value+"\">\r\n"; 
  363.  t+="<PARAM NAME=overtexttype2"+" VALUE=\""+form.ottype2.value+"\">\r\n"; 
  364.  t+="<PARAM NAME=overtextcol2"+" VALUE=\""+form.otcol2.value+"\">\r\n";  
  365.  t+="<PARAM NAME=overtextfont2"+" VALUE=\""+form.otfont2.value+"\">\r\n"; 
  366.  t+="<PARAM NAME=overtextstyle2"+" VALUE=\""+form.otstyle2.value+"\">\r\n"; 
  367.  t+="<PARAM NAME=overtextsize2"+" VALUE=\""+form.otsize2.value+"\">\r\n"; 
  368. }
  369. if(form.ot3.value){
  370.  t+="<PARAM NAME=overtext3"+" VALUE=\""+form.ot3.value+"\">\r\n"; 
  371.  t+="<PARAM NAME=overtexty3"+" VALUE=\""+form.oty3.value+"\">\r\n";
  372.  t+="<PARAM NAME=overtextspeed3"+" VALUE=\""+form.otspeed3.value+"\">\r\n"; 
  373.  t+="<PARAM NAME=overtexttype3"+" VALUE=\""+form.ottype3.value+"\">\r\n"; 
  374.  t+="<PARAM NAME=overtextcol3"+" VALUE=\""+form.otcol3.value+"\">\r\n"; 
  375.  t+="<PARAM NAME=overtextfont3"+" VALUE=\""+form.otfont3.value+"\">\r\n"; 
  376.  t+="<PARAM NAME=overtextstyle3"+" VALUE=\""+form.otstyle3.value+"\">\r\n"; 
  377.  t+="<PARAM NAME=overtextsize3"+" VALUE=\""+form.otsize3.value+"\">\r\n"; 
  378. }
  379. if(form.ot4.value){
  380.  t+="<PARAM NAME=overtext4"+" VALUE=\""+form.ot4.value+"\">\r\n"; 
  381.  t+="<PARAM NAME=overtexty4"+" VALUE=\""+form.oty4.value+"\">\r\n";
  382.  t+="<PARAM NAME=overtextspeed4"+" VALUE=\""+form.otspeed4.value+"\">\r\n"; 
  383.  t+="<PARAM NAME=overtexttype4"+" VALUE=\""+form.ottype4.value+"\">\r\n"; 
  384.  t+="<PARAM NAME=overtextcol4"+" VALUE=\""+form.otcol4.value+"\">\r\n";  
  385.  t+="<PARAM NAME=overtextfont4"+" VALUE=\""+form.otfont4.value+"\">\r\n"; 
  386.  t+="<PARAM NAME=overtextstyle4"+" VALUE=\""+form.otstyle4.value+"\">\r\n"; 
  387.  t+="<PARAM NAME=overtextsize4"+" VALUE=\""+form.otsize4.value+"\">\r\n"; 
  388. }
  389.  
  390. if(form.regkey.value){
  391.  t+="<PARAM NAME=regkey VALUE=\""+form.regkey.value+"\">\r\n";
  392.  if(form.reglink.value){
  393.   t+="<PARAM NAME=reglink VALUE=\""+form.reglink.value+"\">\r\n";
  394.   //if(form.regtarget.value)
  395.   t+="<PARAM NAME=regtarget VALUE=\""+form.regtarget.value+"\">\r\n";
  396.  }
  397.  if(form.regstatusmsg.value)
  398.   t+="<PARAM NAME=regstatusmsg VALUE=\""+form.regstatusmsg.value+"\">\r\n";
  399. }
  400.  
  401. t+="<B>Sorry, no java browser</B>\r\n";
  402. t+="</APPLET>";
  403. return t;
  404. }
  405. else return "";
  406. }
  407.  
  408.  
  409. var noImg="Only JPEG (JPG) and GIF image files are supported.\r\nPlease select a different file.";
  410. function okOImg(form){
  411. var t=form.newoverimage.value;
  412. var ext=t.substring(t.lastIndexOf(".")+1);
  413. if(ext=="jpg" || ext=="gif"){form.overimage.value=t;}
  414. else{alert(noImg);}
  415. WriteSelObj(form);
  416. }
  417.  
  418. // End -->
  419. </SCRIPT>
  420.  
  421. <STYLE TYPE="text/css">TD {font:normal 10pt Arial, sans-serif; color:#ffff00}</STYLE>
  422. </HEAD>
  423. <BODY SCROLL="auto" BGCOLOR="#002040" TEXT="#ffffff" VLINK="#ff8000" ALINK="#00ff00" LINK="#ffff00">
  424. <CENTER>
  425. <FONT COLOR="ffbf00" SIZE="+3"><EM>DS Stars3D</EM></FONT><BR><BR>
  426. <FONT  SIZE="-1" FACE="Arial, sans-serif">
  427. Visit <A HREF="http://dseffects.com" TARGET="_blank">DSEffects.com</A> to register or get help on this applet.<BR>
  428.  
  429. <FORM NAME="editor" ACTION="">
  430. <P>
  431. <table>
  432. <tr>
  433.     <td>Applet width</td>
  434.     <td><input type="text" size="4" name="width" maxlength="4" value="240" onChange="javascript:WriteSelObj( this.form );"></td>
  435. </tr>
  436. <tr>
  437.     <td>Applet height</td>
  438.     <td><input type="text" size="4" name="height" maxlength="4" value="200" onChange="javascript:WriteSelObj( this.form );"></td>
  439. </tr>
  440. </TABLE>
  441. <P>
  442. <TABLE>
  443. <tr>
  444.     <td>Numbers of stars</td>
  445.     <td><input type="text" size="4" name="numstars" maxlength="4" onChange="javascript:WriteSelObj(this.form);"></td>
  446.     <td>(100-2000)</td>
  447. </tr>
  448. <tr>
  449.    <td>Speed</td>
  450.    <td><select name="speed" onChange="javascript:WriteSelObj(this.form);"><option value="1">1<option value="2" selected>2<option value="3">3<option value="4">4</select></td>
  451. </tr>
  452. <tr>
  453.    <td>Direction</td>
  454.    <td><select name="direction" onChange="javascript:WriteSelObj(this.form);"><option value="forward" selected>Forward<option value="backward">Backward</select></td>
  455. </tr>
  456. <tr>
  457.    <td>Rotation Direction</td>
  458.    <td><select name="rotdir" onChange="javascript:WriteSelObj(this.form);"><option value="clockwise" selected>Clockwise<option value="counterclockwise">Counterclockwise<option value="no">No</select></td>
  459. </tr>
  460. <tr>
  461.     <td>Interactive</td>
  462.     <td><select name="interactive" onChange="javascript:WriteSelObj( this.form );"><option value="yes" selected>yes<option value="no">no</select></td>
  463. </tr>
  464. </TABLE>
  465. <P>
  466. <TABLE>
  467. <tr>
  468.    <td>OverImage</td>
  469.    <td><input type="text" size="20" name="overimage" onChange="javascript:WriteSelObj(this.form);">
  470.        <input type="file" size="1" name="newoverimage" onChange="javascript:WriteSelObj(this.form);">
  471.  
  472. <input type="button" value="APPLY" onMouseDown="javascript:okOImg(this.form);">
  473. </td>       
  474. </tr>
  475. <TR>
  476.    <TD>OverImage X</TD>
  477.    <TD><input type="text" size="4" name="overimagex" maxlength="4" onChange="javascript:WriteSelObj( this.form );"></TD>
  478. </TR>
  479. <TR>
  480.    <TD>OverImage Y</TD>
  481.    <TD><input type="text" size="4" name="overimagey" maxlength="4" onChange="javascript:WriteSelObj( this.form );"></TD>
  482. </TR>
  483. </TABLE>
  484. <P>
  485. <TABLE>
  486. <TR>
  487. <TD ALIGN=CENTER>Speed</TD><TD ALIGN=CENTER>Color</TD><TD ALIGN=CENTER>Y Pos</TD><TD ALIGN=CENTER>Font</TD><TD ALIGN=CENTER>Style</TD><TD ALIGN=CENTER>Size</TD>
  488. </TR>
  489. <TR>
  490. <TD ALIGN=CENTER><select name="otspeed1" onChange="javascript:WriteSelObj( this.form );"><option value="1">1<option value="2" selected>2<option value="3">3<option value="4">4</select></TD>
  491. <TD ALIGN=CENTER><select name="otcol1" onChange="javascript:WriteSelObj( this.form );"><option value="000000">Black<option value="0000ff">Blue<option value="a52a2a">Brown<option value="00ffff">Cyan<option value="ffd700">Gold<option value="808080">Gray<option value="00ff00">Green<option value="ff00ff">Magenta<option value="ffa500">Orange<option value="ffc0cb">Pink<option value="800080">Purple<option value="ff0000">Red<option value="c0c0c0">Silver<option value="ffffff" selected>White<option value="ffff00">Yellow</select></TD>
  492. <TD ALIGN=CENTER><input type="text" size="3" name="oty1" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  493. <TD ALIGN=CENTER><input type="text" size="10" name="otfont1" onChange="javascript:WriteSelObj( this.form );"></TD>
  494. <TD ALIGN=CENTER><select name="otstyle1" onChange="javascript:WriteSelObj( this.form );">
  495.         <option value="plain" selected>Plain
  496.         <option value="bold">Bold
  497.         <option value="italic">Italic
  498.         <option value="bold italic">Bold Italic
  499.     </select>
  500. </TD>
  501. <TD ALIGN=CENTER><input type="text" size="3" name="otsize1" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  502. </TR>
  503. </TABLE>
  504. <TABLE>
  505. <TR>
  506. <TD>OverText1</TD>
  507. <TD><input type="text" size="28" name="ot1" onChange="javascript:WriteSelObj( this.form );"></TD>
  508. <TD><select name="ottype1" onChange="javascript:WriteSelObj( this.form );">
  509.         <option value="scrollleft" selected>ScrollLeft
  510.         <option value="scrollright">ScrollRight
  511.         <option value="scrollup">ScrollUp
  512.         <option value="scrolldown">ScrollDown
  513.     </select>
  514. </TD>
  515. </TR>
  516. </TABLE>
  517. <TABLE>
  518. <TR>
  519. <TD ALIGN=CENTER><select name="otspeed2" onChange="javascript:WriteSelObj( this.form );"><option value="1">1<option value="2" selected>2<option value="3">3<option value="4">4</select></TD>
  520. <TD ALIGN=CENTER><select name="otcol2" onChange="javascript:WriteSelObj( this.form );"><option value="000000">Black<option value="0000ff">Blue<option value="a52a2a">Brown<option value="00ffff">Cyan<option value="ffd700">Gold<option value="808080">Gray<option value="00ff00">Green<option value="ff00ff">Magenta<option value="ffa500">Orange<option value="ffc0cb">Pink<option value="800080">Purple<option value="ff0000">Red<option value="c0c0c0">Silver<option value="ffffff" selected>White<option value="ffff00">Yellow</select></TD>
  521. <TD ALIGN=CENTER><input type="text" size="3" name="oty2" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  522. <TD ALIGN=CENTER><input type="text" size="10" name="otfont2" onChange="javascript:WriteSelObj( this.form );"></TD>
  523. <TD ALIGN=CENTER><select name="otstyle2" onChange="javascript:WriteSelObj( this.form );">
  524.         <option value="plain" selected>Plain
  525.         <option value="bold">Bold
  526.         <option value="italic">Italic
  527.         <option value="bold italic">Bold Italic
  528.     </select>
  529. </TD>
  530. <TD ALIGN=CENTER><input type="text" size="3" name="otsize2" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  531. </TR>
  532. </TABLE>
  533. <TABLE>
  534. <TR>
  535. <TD>OverText2</TD>
  536. <TD><input type="text" size="28" name="ot2" onChange="javascript:WriteSelObj( this.form );"></TD>
  537. <TD><select name="ottype2" onChange="javascript:WriteSelObj( this.form );">
  538.         <option value="scrollleft" selected>ScrollLeft
  539.         <option value="scrollright">ScrollRight
  540.         <option value="scrollup">ScrollUp
  541.         <option value="scrolldown">ScrollDown
  542.     </select>
  543. </TD>
  544. </TR>
  545. </TABLE>
  546. <TABLE>
  547. <TR>
  548. <TD ALIGN=CENTER><select name="otspeed3" onChange="javascript:WriteSelObj( this.form );"><option value="1">1<option value="2" selected>2<option value="3">3<option value="4">4</select></TD>
  549. <TD ALIGN=CENTER><select name="otcol3" onChange="javascript:WriteSelObj( this.form );"><option value="000000">Black<option value="0000ff">Blue<option value="a52a2a">Brown<option value="00ffff">Cyan<option value="ffd700">Gold<option value="808080">Gray<option value="00ff00">Green<option value="ff00ff">Magenta<option value="ffa500">Orange<option value="ffc0cb">Pink<option value="800080">Purple<option value="ff0000">Red<option value="c0c0c0">Silver<option value="ffffff" selected>White<option value="ffff00">Yellow</select></TD>
  550. <TD ALIGN=CENTER><input type="text" size="3" name="oty3" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  551. <TD ALIGN=CENTER><input type="text" size="10" name="otfont3" onChange="javascript:WriteSelObj( this.form );"></TD>
  552. <TD ALIGN=CENTER><select name="otstyle3" onChange="javascript:WriteSelObj( this.form );">
  553.         <option value="plain" selected>Plain
  554.         <option value="bold">Bold
  555.         <option value="italic">Italic
  556.         <option value="bold italic">Bold Italic
  557.     </select>
  558. </TD>
  559. <TD ALIGN=CENTER><input type="text" size="3" name="otsize3" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  560. </TR>
  561. </TABLE>
  562. <TABLE>
  563. <TR>
  564. <TD>OverText3</TD>
  565. <TD><input type="text" size="28" name="ot3" onChange="javascript:WriteSelObj( this.form );"></TD>
  566. <TD><select name="ottype3" onChange="javascript:WriteSelObj( this.form );">
  567.         <option value="scrollleft" selected>ScrollLeft
  568.         <option value="scrollright">ScrollRight
  569.         <option value="scrollup">ScrollUp
  570.         <option value="scrolldown">ScrollDown
  571.     </select>
  572. </TD>
  573. </TR>
  574. </TABLE>
  575. <TABLE>
  576. <TR>
  577. <TD ALIGN=CENTER><select name="otspeed4" onChange="javascript:WriteSelObj( this.form );"><option value="1">1<option value="2" selected>2<option value="3">3<option value="4">4</select></TD>
  578. <TD ALIGN=CENTER><select name="otcol4" onChange="javascript:WriteSelObj( this.form );"><option value="000000">Black<option value="0000ff">Blue<option value="a52a2a">Brown<option value="00ffff">Cyan<option value="ffd700">Gold<option value="808080">Gray<option value="00ff00">Green<option value="ff00ff">Magenta<option value="ffa500">Orange<option value="ffc0cb">Pink<option value="800080">Purple<option value="ff0000">Red<option value="c0c0c0">Silver<option value="ffffff" selected>White<option value="ffff00">Yellow</select></TD>
  579. <TD ALIGN=CENTER><input type="text" size="3" name="oty4" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  580. <TD ALIGN=CENTER><input type="text" size="10" name="otfont4" onChange="javascript:WriteSelObj( this.form );"></TD>
  581. <TD ALIGN=CENTER><select name="otstyle4" onChange="javascript:WriteSelObj( this.form );">
  582.         <option value="plain" selected>Plain
  583.         <option value="bold">Bold
  584.         <option value="italic">Italic
  585.         <option value="bold italic">Bold Italic
  586.     </select>
  587. </TD>
  588. <TD ALIGN=CENTER><input type="text" size="3" name="otsize4" maxlength="3" onChange="javascript:WriteSelObj( this.form );"></TD>
  589. </TR>
  590. </TABLE>
  591. <TABLE>
  592. <TR>
  593. <TD>OverText4</TD>
  594. <TD><input type="text" size="28" name="ot4" onChange="javascript:WriteSelObj( this.form );"></TD>
  595. <TD><select name="ottype4" onChange="javascript:WriteSelObj( this.form );">
  596.         <option value="scrollleft" selected>ScrollLeft
  597.         <option value="scrollright">ScrollRight
  598.         <option value="scrollup">ScrollUp
  599.         <option value="scrolldown">ScrollDown
  600.     </select>
  601. </TD>
  602. </TR>
  603. </TABLE>
  604. <P>
  605. Register at <A HREF="http://dseffects.com"
  606. TARGET="_blank">DSEffects.com</A> to remove the credits message<BR>
  607. and enable the following settings.
  608. <P>
  609. <TABLE>
  610. <TR>
  611.    <TD>Registration Key</TD>
  612.    <TD><input type="text" size="30" name="regkey" onChange="javascript:WriteSelObj( this.form );"></TD>
  613. </TR>
  614. <TR>
  615.    <TD>URL Link</TD>
  616.    <TD><input type="text" size="30" name="reglink" onChange="javascript:WriteSelObj( this.form );"></TD>
  617. </TR>
  618. <TR>
  619.    <TD>URL Link Target</TD>
  620. <TD>
  621. <SELECT name="regselt" onChange="javascript:this.form.regtarget.value=this.value;WriteSelObj( this.form );">
  622. <OPTION VALUE="_self">Current Frame of Window</OPTION>
  623. <OPTION SELECTED VALUE="_blank"> New Window</OPTION>
  624. <OPTION VALUE="_top"> Entire Frame of Current Window</OPTION>
  625. <OPTION VALUE=""> User Defined </OPTION>
  626. </SELECT>
  627. </TR>
  628. <TR>
  629.    <TD></TD>
  630.    <TD><input type="text" size="30" name="regtarget" onChange="javascript:WriteSelObj( this.form );"></TD>
  631. </TR>
  632. <TR>
  633.    <TD>StatusBar Message</TD>
  634.    <TD><input type="text" size="30" name="regstatusmsg" onChange="javascript:WriteSelObj( this.form );"></TD>
  635. </TR>
  636. </TABLE>
  637. </FORM>
  638. <SCRIPT LANGUAGE="JavaScript">
  639. <!-- Begin
  640. ReadSelObj(document.editor);
  641. document.write(AppletHTML(document.editor));
  642. if(window.external.GetObjectHTML("-1")==defined)
  643.    WriteSelObj(document.editor);
  644.  
  645. document.write("<P>If the applet preview above is solid grey rectangle, then try choosing Ok button below and then re-open this editor. If you still get a grey applet window above, then try using the Preview option in Cool Page to preview the web page.");
  646. document.write("<P>These applets are the result of much hard work by DSEffects.com and provided as free plugins for Cool Page by DSEffects.com.  31 of these applets are included with the free version of Cool Page, and 87 applets are included with paid versions of Cool Page. You may use the applets free-of-charge.  However, if you wish to gain the benefits of registering these applets, as described above in the registration section, you may purchase a registration key from DSEffects.com.  DSEffects.com and CoolPage.com are owned by separate companies.</P>");
  647.  
  648. // End -->
  649. </SCRIPT>
  650. </FONT>
  651. </CENTER>
  652. </BODY>
  653. </HTML>
  654.